home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
list77a.zip
/
LISTMOD.DOC
< prev
next >
Wrap
Text File
|
1992-10-07
|
19KB
|
670 lines
LIST
CUSTOMIZATION GUIDE
A File Viewing and Browsing Utility
Version 7.7 October 1992
(c) Copyright Vernon D. Buerg 1983-92. All rights reserved
LIST is a copyrighted program. LIST is NOT public domain.
LIST may copied for personal use only subject to the restrictions
set forth in the last chapter.
T A B L E O F C O N T E N T S
__________________________________________________________________________
Modifying LIST.COM ................................................... 1
Locations of option values ...................................... 1
LIST Plus only ............................................... 3
Reassigning keys ................................................ 5
Table of Routines ............................................... 6
Contents 1 LIST User's Guide
Modifying LIST.COM
______________________________________________________________________________
Locations of option values
This information is offered to those of you who wish to modify LIST
in special ways. You do not need this information to use LIST. An
alternative to cloning is to use DEBUG to make permanent changes.
Also, a special customization program called LISTOPT is available to
registered and licensed users. Subtract hex 100 if you are using a
a file editor instead of DEBUG.
Here is a list of key items and their addresses:
Item Offset Value Description of contents
-------------- ------ ----- -----------------------
Special 0132 70 Top/bottom line colors
Special lines 1 and 25 colors, default is 70 (reverse).
Refer to a technical reference guide for the
attribute values for the colors that you want.
Normal 0134 07 Text colors
Bright 0136 09 Find/Scan line colors
Window 1 color 0138 07 Primary window text color
Window 2 color 0139 0F Second window text color
Flag3 013A 09 Retrace off and junk filter on
By specifying the bit value, the option is enabled. For example, to
enable Shared and Retrace, specify a hex value of the sum, or 01+04
= 05.
MRSJ WHK* M = mono, retrace testing if off, x'01'
R = ruler, x'02'
S = shared, x'04'
J = add LF to lone CR, process backspaces,
if on, x'08'; default is off
W = wrap mode, x'10'
H = hi-bit on, x'20'
K = kybd flush, x'40'
* = special document filtering, x'80'
Flag4 013B 08 Tabs on
.PAT DGV. P = Preload file if on, x'02', default is off
A = Apxcore if on, TV/DD/DV if off, x'04,
default is for Topview/Double DOS use
T = if on (default), expand TABs, x'08'
D = hex display mode if on, x'10'
G = if on, Alt-G goto DOS is Disabled, x'20'
V = if on, screen save/restore is Disabled
and 9K less memory is used/required, x'40'
LIST User's Guide Page 1
Modifying LIST.COM
______________________________________________________________________________
Locations of option values
Find row 013C 0800 Position of found line on screen, 8
Row less one at which found text is displayed, 1 byte the default
is 08 which displays found text on line 9
When the Find/Scan command is used, the next line which contains
that text is highlighted using the 'bright' color, and is placed in
row 9 of the screen. You can change the row by Altering the byte at
location 13C which is normally '08', one less than the row.
Scroll incr 013E 0A00 Left/right scroll increment, 10
Scroll start 0140 0000 Starting scroll offset, 0
Tab value 0142 0800 Tab interval, 8
Tab mask 0144 F8FF Tab bit mask
Loudness 0146 C8 Beep tone level
Key rate 0148 FF Continuous scroll increment, 255
Overlap 0149 0000 PgUp/PgDn scroll overlap, 0
Wildcard esc 014B 26 Scan/Find wildcard ? escape character
Alt-V up 014C 0500 Alt-V display files per line, 5
Page 2 LIST User's Guide
Modifying LIST.COM
______________________________________________________________________________
Locations of option values
LIST Plus only
--------------
Eye-catcher 014E 'COM:'
COM port 0152 F803 Default for COM1, use F802 for COM2
Sort offset 0154 00 Default sort key offset
00 by filename
08 by extension
0C by datestamp
10 by file size
Flag6 0156 00 Plus options
04 suppress "Are you sure?" prompts
10 send FF formfeed after ctrl-P
40 /Q option, suppress beeps
80 /V option, verify file copies
Modem init 0157 'AT' 30-byte modem initialization string
Editor name 0175 'Edit' 8-byte name of editor program
Modem hang-up 017E 'ATZ' 9-byte modem disconnect command
Temp var name 0187 LIST 4-character environment name for temps
LIST User's Guide Page 3
Modifying LIST.COM
______________________________________________________________________________
Locations of option values
The following offsets change from version to version. Look for the
eye-catchers to be sure of the offset:
Key table 0473 'WHAT' Eye catcher
0477 0026 Key command table
Routines 057C 'WHERE' Eye catcher
0581 xxxx Command routines
Examples of using DEBUG can be found in the DIALER.PAT and
COLORS.PAT files. To use them, copy LIST.COM to the current
directory and issue the DEBUG command. For example:
DEBUG <DIALER.PAT
Page 4 LIST User's Guide
Modifying LIST.COM
______________________________________________________________________________
Reassigning keys
LIST performs a function for every character that can be entered at
the command line prompt. There are 128 regular characters and 131
extended characters. The regular characters are numbered from 0 to
127, and they include the letters A-Z, a-z, the numbers, and the
rest of the usual single characters found on your keyboard. The
extended characters represent special function keys and combinations
of keys, such as F1, Alt-X, Ctrl-A, and the cursor positioning keys.
The WHAT table in LIST has a one byte entry for each of the
characters. This byte is a number from 0 to 57 that represents the